package com.CST.mapper.cst;

import com.CST.common.api.ResultObject;
import com.CST.dto.DateDTO;
import com.CST.entity.CusDutyfactor;
import com.CST.entity.RuleAmortization;
import com.CST.entity.selectInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author xnd
 * @since 2021-12-22
 */
@Repository
public interface CusDutyfactorMapper extends BaseMapper<CusDutyfactor> {

    void addRoleworkfactor(CusDutyfactor entity);

    List<CusDutyfactor> selectworkfactor(CusDutyfactor entity);
    List<CusDutyfactor> selectDutyFactor(DateDTO dateDTO);
    List<selectInfo> getYearMonth();

    void Deleteinformation(List<Integer> ids);

    void modifyworkfactor(CusDutyfactor entity);

    void deleteByYearMonth(String yearMonth);

    void insertRoleworkfactor(List<CusDutyfactor> list);


}
